package com.niiwoo.civet.trade.service.invest;

import com.niiwoo.civet.trade.dto.response.InvestOrderDetailDubboDTO;
import com.niiwoo.civet.trade.dto.response.customsystem.QueryProjectInvestOrderResponseDTO;

import java.math.BigDecimal;

/**
 * Created by huangmin on 2017/12/10.
 */
public interface InvestOrderDetailDubboService {

    /**
     * 获取投资订单详情
     * @param investOrderId 订单ID
     */
    InvestOrderDetailDubboDTO getInvestOrderDetail(Long investOrderId);

    /**
     * 查询最新投资订单
     * @param userId
     * @return
     */
    QueryProjectInvestOrderResponseDTO queryLastInvestOrderByUserId(String userId);

    /**
     * 查询累计投资成功金额
     * @return
     */
    BigDecimal queryTotalInvestSuccessAmount(String userId);
}
